<?php

/**
 * Make div with info telling
 * that this question has been closed
 * This div will be placed in place
 * where the "Answer" form normally appears
 * Under the question and answers
 * 
 */
class tplClosedby extends \StudyBuddy\Template\Template
{

	protected static $vars = array(
			'username' => '', //1
			'i_uid' => '', //2
			'av' => '', //3
			'reason' => '', //4
			'hts' => '' // 5
	        );


	protected static $tpl = '
	<div id="closed">
            <div class="cb fl larger bold">Closed by <a href="/users/%2$s/%1$s">%1$s</a> <img src="%3$s" height="32" width="32" alt=""></div>
            <div class="fl cb"><span title="%5$s" class="ts" rel="time">%5$s</span></div>
            <div class="cb fl"><span class="fl bold">Reason: </span><span class="reason">&nbsp; %4$s</span></div>
     </div>';
	
}